package com.panshi.admin_manage.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.panshi.admin_manage.mapper.AdminMapper;
import com.panshi.admin_manage.service.IAdminService;
import com.panshi.vo.SysAdmin;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AdminService extends ServiceImpl<AdminMapper, SysAdmin> implements IAdminService {

    @Autowired
    private AdminMapper adminMapper;

    @Override
    public List<SysAdmin> findAdminGrade() {
        return adminMapper.findAdminGrade();
    }
}
